package com.hy.demo.learn.spring.model;

import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;

/**
 * <p>
 *
 * </p>
 *
 * @author cjl
 * @version 1.0
 * @since 2020-07-28 14:06
 */
@Component
@Primary
public class Dog implements Pet {
    @Override
    public void move() {
        System.out.println("running");
    }
}
